package com.asgard.constant;

/**
 * RA区块链入链状态枚举。
 */
public enum BlockChainStateEnum {

    FAILURE(0, "入链失败"),
    SUCCESS(1, "入链成功"),
    IN_CONFIRMATION(2, "入链中"),
    WAIT_BROADCAST(3, "待入链");

    private Integer code;
    private String content;

    BlockChainStateEnum(Integer code, String content) {
        this.code = code;
        this.content = content;
    }

    public Integer getCode() {
        return code;
    }

    public String getContent() {
        return content;
    }

}


